#include "Zigbee3QueryBackCmd.h"

Zigbee3QueryBackCmd::Zigbee3QueryBackCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::ZigbeeConfigProtocol;
    this->m_functionCode = FunctionCode;
}

Package Zigbee3QueryBackCmd::toPackage()
{
    Package package;
    package.clear();
//    package.setFunction(FunctionCode);
    return package;
}

void Zigbee3QueryBackCmd::unPackage(Package package)
{
  m_ZigbeeQueryBackData=package.body();
}

QByteArray Zigbee3QueryBackCmd::zigbeeQueryBackData()const
{
    return m_ZigbeeQueryBackData;
}
void Zigbee3QueryBackCmd::setZigbeeQueryBackData(const QByteArray Data)
{
    m_ZigbeeQueryBackData=Data;
}

